var activity=location.search

	myVue()
	initData()


function myVue(){
	vm=new Vue({
		el:".Group_buy",
		data:{
			info:[]
			
		}
		
	})
	
}

function initData(){
		$.ajax({
		url:"http://localhost:8080/commodity/chooseCommodity"+activity,
		type:"get",
		dataType:"json",
		async:false,
		success:function(data){
			
			vm.$data.info=data.data
	
		}
	})
	
	
	
}


function getData(){
	 var getList="";
	 
	$.ajax({
		url:"http://localhost:8080/commodity/chooseCommodity"+activity,
		type:"get",
		dataType:"json",
		async:false,
		success:function(data){
			
			getList=data.data
	
		}
	})
	
	return getList;
}

